﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class CheckinListResult
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public int? ReservationNumber { get; set; }

            public int ReservationRoomId { get; set; }

            public int? TravellerId { get; set; }

            public int? HotelId { get; set; }

            public System.DateTime? ArrivalDate { get; set; }

            public System.DateTime? DepartureDate { get; set; }

            public int? RoomId { get; set; }

            public string Note { get; set; }

            public int? ReservationId { get; set; }

            public int Adults { get; set; }

            public int Child { get; set; }

            public string BookingStatus { get; set; }

            public decimal Price { get; set; }

            public bool Foc { get; set; }

            public int? RoomPriceId { get; set; }

            public double DiscountPercentage { get; set; }

            public decimal DiscountFlat { get; set; }

            public string CancelReason { get; set; }

            public int? RoomTypeId { get; set; }

            public int TravellersTravellerId { get; set; }

            public string Fullname { get; set; }

            public string Mobile { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.EmailAddress)]
            public string Email { get; set; }

            public string IdentityNumber { get; set; }

            public System.DateTime? Birthday { get; set; }

            [DataType(System.ComponentModel.DataAnnotations.DataType.MultilineText)]
            public string Address { get; set; }

            public int? CountryId { get; set; }

            public int TravellersHotelId { get; set; }

            public int Gender { get; set; }

            public string RoomName { get; set; }

            public string RoomTypeName { get; set; }

            public string RoomTypeCode { get; set; }

        }

        #endregion
    }
}